from time import time
st = time()
with open ('m3_shuffle.txt') as f:
    a = []
    for line in f:
        a.append([int(x) for x in line.split()])


for i in range(len(a)):
    for i in range (len(a)-i-1):
        if a[j] > a[j+1]:
            a[j], a[j+1] = a[j+1], a[j]
print(a)
fi = time()
t = fi - st
print(t)
